﻿using MediatR;
using ProduceBasicData.Api.DTO;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Supplier
{
    /// <summary>
    /// 供应商信息获取命令
    /// </summary>
    public class GetSupplierCommand:IRequest<ApiPaging<SupplierDto>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Index { get; set; } = 1;

        /// <summary>
        /// 页容量
        /// </summary>
        public int Size { get; set; } = 100;
    }
}
